/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entity;

import java.util.Date;

/**
 *
 * @author Trung Duc
 */
public class Receipt {
    private int billID;
    private int itemID;
    private int userID;
    private Date date;
    private int quantity;
    private String account;
    private String itemName;
    private String categoryName;

    public Receipt(int billID, int itemID, int userID, int quantity) {
        this.billID = billID;
        this.itemID = itemID;
        this.userID = userID;
        this.quantity = quantity;
    }
    

    public Receipt(int billID, int itemID, int userID, Date date, int quantity, String account, String itemName, String categoryName) {
        this.billID = billID;
        this.itemID = itemID;
        this.userID = userID;
        this.date = date;
        this.quantity = quantity;
        this.account = account;
        this.itemName = itemName;
        this.categoryName = categoryName;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public int getBillID() {
        return billID;
    }

    public void setBillID(int billID) {
        this.billID = billID;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getItemID() {
        return itemID;
    }

    public void setItemID(int itemID) {
        this.itemID = itemID;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }
    
}
